from django import forms
from noinfo.models import NoinfoAnime, NoinfoTheme, NoinfoWatchrecord

class AnimeForm(forms.Form):

    class Meta:
        model = NoinfoAnime

    theme = forms.CharField(label='系列')
    season = forms.CharField(label='季数', required=False)
    subtitle = forms.CharField(label='副标题', required=False)
    type = forms.ChoiceField(label='类型', choices=(
        ('choice1', 'TV'),  
        ('choice2', '剧场版'),
        ('choice3', '电影'),
        ('choice3', '特别篇'),
    ))
    dim = forms.ChoiceField(label='维度', choices=(
        ('choice1', '二维'),  
        ('choice2', '三维'),    
        ('choice3', '三渲二'),
    ))
    episodes = forms.IntegerField(label='集数', required=False)
    duration = forms.IntegerField(label='时长', required=False)
    episode_start = forms.IntegerField(label='首集', required=False)
    episode_end = forms.IntegerField(label='末集', required=False)
    date_start = forms.DateField(label='首播日期', required=False)
    date_end = forms.DateField(label='完播日期', required=False)
    producer = forms.CharField(label='制作方', required=False)